package com.shop.trade.atom.dao;

import com.shop.common.entity.trade.OrderDetail;
import com.shop.common.model.param.trade.OrderDetailInput;
import com.shop.common.model.result.trade.OrderDetailOutput;

import java.util.List;

public interface OrderDetailMapper {

    List<OrderDetailOutput> selectByOrderId(Integer id);

    List<OrderDetailOutput> qryOrderDetails(OrderDetailInput orderDetailInput);

    int deleteByPrimaryKey(Integer id);

    int insertSelective(OrderDetail record);

    int insertList(List<OrderDetail> list);

    int updateByPrimaryKeySelective(OrderDetailInput record);

    Integer qryOrderDetailCount(OrderDetailInput input);
}